Is this ( using _util functions) an example of clean way for error checking in c